import service from "@/api/request"
import type { AxiosPageResponse } from '@/model/model3000'

export const useSaveCommentApi = (data:any) => {
    return service.post("/comment/save",data);
};

export const usePlantCommentApi = (data:any) => {
    return service.get("/comment/plant/"+data);
};

export const useUserCommentApi = (data:any) => {
    return service.post<any,AxiosPageResponse,any>("/comment/user",data);
};